feat: update mosquitto strings#3343
feat: update mosquitto strings#3343Its-Just-Nans wants to merge 4 commits intoeclipse-mosquitto:developfrom
Conversation
Signed-off-by: n4n5 <its.just.n4n5@gmail.com>
Signed-off-by: n4n5 <its.just.n4n5@gmail.com>
Codecov Report❌ Patch coverage is
🚀 New features to boost your workflow:
|
b612b85 to
93557bf
Compare
|
I don't think I agree with this change. Could you explain what problem you believe it to be solving? |
mosquitto/libcommon/strings_common.c Lines 148 to 166 in 7786833 Currentlyt, to get the string of a connack code, we should do
And it's also not documented if I'm correct - only as comment here mosquitto/examples/subscribe/basic-1.c Lines 17 to 20 in 7786833 This fix, update the
Also I've added strings for disconnect code translation using |
|
Ah, thank you I understand. I believe the answer is to better document it then. There is no such thing as a connack code/string in MQTT v5.0, and no such thing as a reason code/string in MQTT v3.1.1, so mixing the two doesn't make sense to me. |
|
Hum that's strange because on MQTTv5 (https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html) I see
On MQTTv3 I see
On MQTTv5, the codes from 2.4 have a general name e.g
What do you think about the What do you think about the I can also edit the documentation if needed |
6b404a7 to
2c4967a
Compare
74cc684 to
fd0fa72
Compare
6101d88 to
7de6cb4
Compare
make testwith your changes locally?Hello